﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Reflection;
using System.Drawing;

namespace LIK.NetAssemblyChecker
{
    internal class SystemAssembly  : AssemblyObject
    {
        internal SystemAssembly(string file):base(file, -1, null)
        {
        }

        internal TreeNode GetTreeNode()
        {
            string nodename = "";
            if( _intImageIndex == (int)Commons.FileObjectIcon.ExeFile)
               nodename= String.Format("{0} [{1}]", Name, "System EXE");
            else
                nodename = String.Format("{0} [{1}]", Name, "System Dll");
            TreeNode tr = base.GetTreeNode(nodename, "");
            //mark as brown, NET can't load this file
            tr.ForeColor = Color.Brown;
            return tr;
        }


    }
}
